<!DOCTYPE html><html lang="en" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>小鸟的博客 - 做自己</title><meta name="keywords" content="Boss is SB"><meta name="author" content="John"><meta name="copyright" content="John"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta http-equiv="Cache-Control" content="no-transform"><meta http-equiv="Cache-Control" content="no-siteapp"><meta name="description" content="我的🐦比你的大">
<meta property="og:type" content="website">
<meta property="og:title" content="小鸟的博客">
<meta property="og:url" content="https://yctxkj.gitee.io/bigbdblog/page/3/index.html">
<meta property="og:site_name" content="小鸟的博客">
<meta property="og:description" content="我的🐦比你的大">
<meta property="og:locale" content="en_US">
<meta property="og:image" content="https://yctxkj.gitee.io/bigbdblog/null">
<meta property="article:author" content="John">
<meta property="article:tag" content="Boss is SB">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://yctxkj.gitee.io/bigbdblog/null"><link rel="shortcut icon" href="/bigbdblog/img/favicon.ico"><link rel="canonical" href="https://yctxkj.gitee.io/bigbdblog/page/3/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/bigbdblog/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css"><script>var GLOBAL_CONFIG = { 
  root: '/bigbdblog/',
  hexoversion: '5.2.0',
  algolia: undefined,
  localSearch: undefined,
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true},
  copy: {
    success: 'Copy successfully',
    error: 'Copy error',
    noSupport: 'The browser does not support'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  date_suffix: {
    just: 'Just',
    min: 'minutes ago',
    hour: 'hours ago',
    day: 'days ago',
    month: 'months ago'
  },
  copyright: undefined,
  ClickShowText: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  justifiedGallery: {
    js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
    css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isanchor: false
};

var saveToLocal = {
  set: function setWithExpiry(key, value, ttl) {
    const now = new Date()
    const expiryDay = ttl * 86400000
    const item = {
      value: value,
      expiry: now.getTime() + expiryDay,
    }
    localStorage.setItem(key, JSON.stringify(item))
  },

  get: function getWithExpiry(key) {
    const itemStr = localStorage.getItem(key)

    if (!itemStr) {
      return undefined
    }
    const item = JSON.parse(itemStr)
    const now = new Date()

    if (now.getTime() > item.expiry) {
      localStorage.removeItem(key)
      return undefined
    }
    return item.value
  }
}</script><script id="config_change">var GLOBAL_CONFIG_SITE = { 
  isPost: false,
  isHome: true,
  isHighlightShrink: false,
  isSidebar: false,
  postUpdate: '2020-10-05 02:09:46'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(function () {
  window.activateDarkMode = function () {
    document.documentElement.setAttribute('data-theme', 'dark')
    if (document.querySelector('meta[name="theme-color"]') !== null) {
      document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
    }
  }
  window.activateLightMode = function () {
    document.documentElement.setAttribute('data-theme', 'light')
    if (document.querySelector('meta[name="theme-color"]') !== null) {
      document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
    }
  }

  const autoChangeMode = 'false'
  const t = saveToLocal.get('theme')
  if (autoChangeMode === '1') {
    const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches
    const isLightMode = window.matchMedia('(prefers-color-scheme: light)').matches
    const isNotSpecified = window.matchMedia('(prefers-color-scheme: no-preference)').matches
    const hasNoSupport = !isDarkMode && !isLightMode && !isNotSpecified

    if (t === undefined) {
      if (isLightMode) activateLightMode()
      else if (isDarkMode) activateDarkMode()
      else if (isNotSpecified || hasNoSupport) {
        const now = new Date()
        const hour = now.getHours()
        const isNight = hour <= 6 || hour >= 18
        isNight ? activateDarkMode() : activateLightMode()
      }
      window.matchMedia('(prefers-color-scheme: dark)').addListener(function (e) {
        if (saveToLocal.get('theme') === undefined) {
          e.matches ? activateDarkMode() : activateLightMode()
        }
      })
    } else if (t === 'light') activateLightMode()
    else activateDarkMode()
  } else if (autoChangeMode === '2') {
    const now = new Date()
    const hour = now.getHours()
    const isNight = hour <= 6 || hour >= 18
    if (t === undefined) isNight ? activateDarkMode() : activateLightMode()
    else if (t === 'light') activateLightMode()
    else activateDarkMode()
  } else {
    if (t === 'dark') activateDarkMode()
    else if (t === 'light') activateLightMode()
  }
})()</script><meta name="generator" content="Hexo 5.2.0"><link rel="alternate" href="/bigbdblog/atom.xml" title="小鸟的博客" type="application/atom+xml">
</head><body><div id="mobile-sidebar"><div id="menu_mask"></div><div id="mobile-sidebar-menus"><div class="mobile_author_icon"><img class="avatar-img" src="/bigbdblog/null" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="mobile_post_data"><div class="mobile_data_item is-center"><div class="mobile_data_link"><a href="/bigbdblog/archives/"><div class="headline">Articles</div><div class="length_num">32</div></a></div></div><div class="mobile_data_item is-center">      <div class="mobile_data_link"><a href="/bigbdblog/tags/"><div class="headline">Tags</div><div class="length_num">9</div></a></div></div></div><hr/></div></div><div id="body-wrap"><header class="full_page" id="page-header"><nav id="nav"><span id="blog_name"><a id="site-name" href="/bigbdblog/">小鸟的博客</a></span><span id="menus"><span class="close" id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></span></span></nav><div id="site-info"><h1 id="site-title">小鸟的博客</h1><div id="site-subtitle"><span id="subtitle"></span></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout_page" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left_radius"><a href="/bigbdblog/2020/10/05/011-Linux%E7%B3%BB%E7%BB%9F%E5%90%AF%E5%8A%A8%E6%85%A2%E6%8E%92%E6%9F%A5%E6%89%8B%E5%86%8C/" title="Linux系统启动慢排查">     <img class="post_bg" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/bigbdblog/img/404.jpg'" alt="Linux系统启动慢排查"></a></div><div class="recent-post-info"><a class="article-title" href="/bigbdblog/2020/10/05/011-Linux%E7%B3%BB%E7%BB%9F%E5%90%AF%E5%8A%A8%E6%85%A2%E6%8E%92%E6%9F%A5%E6%89%8B%E5%86%8C/" title="Linux系统启动慢排查">Linux系统启动慢排查</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">Created</span><time datetime="2020-10-04T17:53:06.517Z" title="Created 2020-10-05 01:53:06">2020-10-05</time></span></div><div class="content">Linux系统启动慢排查排除指令
systemd-cgls 查看服务的启动顺序
systemd-analyze 查看启动时间
systemd-analyze blame 查看启动占用的时间
udisk.server 挂载分区的

</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/bigbdblog/2020/10/05/010-Linux%E5%AD%97%E4%BD%93/" title="Linux下安装字体">     <img class="post_bg" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/bigbdblog/img/404.jpg'" alt="Linux下安装字体"></a></div><div class="recent-post-info"><a class="article-title" href="/bigbdblog/2020/10/05/010-Linux%E5%AD%97%E4%BD%93/" title="Linux下安装字体">Linux下安装字体</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">Created</span><time datetime="2020-10-04T17:53:06.468Z" title="Created 2020-10-05 01:53:06">2020-10-05</time></span></div><div class="content">Linux下安装字体复制字体到目录
目录名字 /usr/share/fonts/

刷新缓存
生成字体索引信息12sudo mkfontscalesudo mkfontdir
更新字体缓存1sudo fc-cache




</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/bigbdblog/2020/10/05/009-%E6%9C%88%E5%BA%A6%E8%80%83%E5%8B%A4%E7%BB%9F%E8%AE%A1SQL%E8%84%9A%E6%9C%AC/" title="月度考勤统计SQL脚本">     <img class="post_bg" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/bigbdblog/img/404.jpg'" alt="月度考勤统计SQL脚本"></a></div><div class="recent-post-info"><a class="article-title" href="/bigbdblog/2020/10/05/009-%E6%9C%88%E5%BA%A6%E8%80%83%E5%8B%A4%E7%BB%9F%E8%AE%A1SQL%E8%84%9A%E6%9C%AC/" title="月度考勤统计SQL脚本">月度考勤统计SQL脚本</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">Created</span><time datetime="2020-10-04T17:53:06.414Z" title="Created 2020-10-05 01:53:06">2020-10-05</time></span></div><div class="content">月度考勤统计SQL脚本介绍
python脚本抓取平台考勤数据

加班数据统计
统计下班时间12345678910111213--- 查询加班记录--------------------SELECT *FROM touch_card_record WHERE substr(touchdate,12,19) &gt; &#x27;18:30:00&#x27;;--- 查询所有记录----------------SELECT *FROM touch_card_record;--- 总记录数-----------------SELECT COUNT(*) FROM touch_card_record


</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/bigbdblog/2020/10/05/008-%E6%90%AD%E5%BB%BA%E5%AE%B6%E5%BA%AD%E5%AA%92%E4%BD%93%E4%B8%AD%E5%BF%83/" title="搭建家庭媒体中心">     <img class="post_bg" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/bigbdblog/img/404.jpg'" alt="搭建家庭媒体中心"></a></div><div class="recent-post-info"><a class="article-title" href="/bigbdblog/2020/10/05/008-%E6%90%AD%E5%BB%BA%E5%AE%B6%E5%BA%AD%E5%AA%92%E4%BD%93%E4%B8%AD%E5%BF%83/" title="搭建家庭媒体中心">搭建家庭媒体中心</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">Created</span><time datetime="2020-10-04T17:53:06.345Z" title="Created 2020-10-05 01:53:06">2020-10-05</time></span></div><div class="content">搭建家庭媒体中心下载最新的Minidlna镜像docker pull vladgh/minidlna
启动容器MiniDLNA (Dockerfile)
Image Version Commit License
This is MiniDLNA on top of minimal Alpine. It can be configured with environment variables.Usage
Prefix any configuration directive of MiniDLNA with MINIDLNA_ and run your container:
123456docker run -d \  --net&#x3D;host \  -v &lt;media dir on host&gt;:&#x2F;media \  -e MINIDLNA_MEDIA_DIR&#x3D;&#x2F;media \  -e MINIDLNA_FRIENDLY_NAME&#x3D;MyMini \  vladgh&#x2F;minidlna

Note: You need to ru ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/bigbdblog/2020/10/05/007-Docker%E7%AE%80%E6%98%93%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B/" title="Docker简易使用教程">     <img class="post_bg" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/bigbdblog/img/404.jpg'" alt="Docker简易使用教程"></a></div><div class="recent-post-info"><a class="article-title" href="/bigbdblog/2020/10/05/007-Docker%E7%AE%80%E6%98%93%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B/" title="Docker简易使用教程">Docker简易使用教程</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">Created</span><time datetime="2020-10-04T17:53:06.294Z" title="Created 2020-10-05 01:53:06">2020-10-05</time></span></div><div class="content">Docker简易使用教程配置注册处镜像
配置阿里云的加速器，支持配置多个镜像1234567$ cat &#x2F;etc&#x2F;docker&#x2F;daemon.json&#123;    &quot;registry-mirrors&quot;: [        &quot;https:&#x2F;&#x2F;registry.docker-cn.com&quot;,        &quot;https:&#x2F;&#x2F;eqcxmbvw.mirror.aliyuncs.com&quot;    ]&#125;



容器运行状态
docker container stats

查看网络状态1docker inspect mongo |grep IP
</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/bigbdblog/2020/10/05/006-MTP%E5%9F%B9%E8%AE%AD%E7%AC%94%E8%AE%B0%E8%AF%BB%E5%90%8E%E6%84%9F/" title="2019年MTP管理技能培训笔记-读后感">     <img class="post_bg" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/bigbdblog/img/404.jpg'" alt="2019年MTP管理技能培训笔记-读后感"></a></div><div class="recent-post-info"><a class="article-title" href="/bigbdblog/2020/10/05/006-MTP%E5%9F%B9%E8%AE%AD%E7%AC%94%E8%AE%B0%E8%AF%BB%E5%90%8E%E6%84%9F/" title="2019年MTP管理技能培训笔记-读后感">2019年MTP管理技能培训笔记-读后感</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">Created</span><time datetime="2020-10-04T17:53:06.170Z" title="Created 2020-10-05 01:53:06">2020-10-05</time></span></div><div class="content">2019年MTP管理技能培训笔记-读后感如何分析和解决问题
原则和理论支撑
从现象到本质
根据问题现象指定临时应急方案，解决问题
从多角度调查问题，了解问题的范围
分析问题原因，包括表面问题和深层问题（引入专家）
讨论范围内（专家参与）
进行方案选择和决策（专家参与）
总结经验，预防再次发生


思维呈现的4个层次
通过语言表达出来
通过文字记录下来（重新思考的过程）
对文字进行结构化分类（信息处理，清晰）
形成图表（量化）
形成检查清单




如何描述问题
描述问题的一般模式： 从什么角度出发，通过什么手段，解决什么问题，最终达到了什么成果
如何清晰的描述问题
多使用数据，量化的形式描述
描述具体的行为
举例说明


描述问题的5W3H法则（回顾报告）
when,where,who,what,why 什么时间什么地点谁发生了什么事，为什么
How,How Many,How Often 如何发生的，严重程度，频次




如何分析问题
站在一定的高度来分析，从全局看个体，从现象看及本质，从未来回看现在
5M1E分析法
man 人的问题 -&gt; 当事人，当事人同事，上级，干系人
m ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/bigbdblog/2020/10/05/005-%E9%AB%98%E6%A0%87%E5%87%86%E5%81%9A%E4%BA%8B/" title="高标准做事">     <img class="post_bg" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/bigbdblog/img/404.jpg'" alt="高标准做事"></a></div><div class="recent-post-info"><a class="article-title" href="/bigbdblog/2020/10/05/005-%E9%AB%98%E6%A0%87%E5%87%86%E5%81%9A%E4%BA%8B/" title="高标准做事">高标准做事</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">Created</span><time datetime="2020-10-04T17:53:06.067Z" title="Created 2020-10-05 01:53:06">2020-10-05</time></span></div><div class="content">高标准做事高标准做事，做事要强调一个“高”字，要有高度的责任心，高度的执行力：高昂的志向、高远的目标、高涨的激情、高雅的格调、高超的水平、高强的技能。要做到高瞻远瞩、高屋建瓴、高歌猛进！正是这些高标准和高要求，才使人成就了事业的辉煌和人生的高贵与完美！
一、思想上要高标准
给自己一个希望：
不论你遇到了多揪心的挫折，都应当以坚持不懈的信心和毅力，感动自己，感动他人，把自己锤炼成一个做大事的人。


保持向上的激情：
我们需要激情，需要开拓，让我们从现在做起，兢兢业业，开拓创新，扎扎实实做好本职工作，在平凡的工作中燃烧激情。


自信是高调做事的秘诀：
信心对于做事成功者具有重要意义，成功的欲望是创造和拥有财富的源泉。人一旦有了这种欲望，并经由自我暗示和潜意识的激发后形成一种自信心，这种信心就会转化成一种“积极的感情”，它能帮助人们释放出无穷的热情、智慧和精力，进而帮助人们获得财富与事业上的巨大成就。


别让借口“吃掉”你的希望：
无论什么时候，我们都不要为自己寻找借口，只有尽职尽责，勇往直前，不找借口，才能实现理想，创造辉煌人生。


丑小鸭也能变成白天鹅：
一个人有希望，再加上坚忍 ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/bigbdblog/2020/10/05/004-%E6%9E%84%E5%BB%BA%E5%9F%BA%E4%BA%8EGit%E7%9A%84%E7%9F%A5%E8%AF%86%E7%AE%A1%E7%90%86%E4%BD%93%E7%B3%BB/" title="构建基于Git的知识管理体系">     <img class="post_bg" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/bigbdblog/img/404.jpg'" alt="构建基于Git的知识管理体系"></a></div><div class="recent-post-info"><a class="article-title" href="/bigbdblog/2020/10/05/004-%E6%9E%84%E5%BB%BA%E5%9F%BA%E4%BA%8EGit%E7%9A%84%E7%9F%A5%E8%AF%86%E7%AE%A1%E7%90%86%E4%BD%93%E7%B3%BB/" title="构建基于Git的知识管理体系">构建基于Git的知识管理体系</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">Created</span><time datetime="2020-10-04T17:53:05.976Z" title="Created 2020-10-05 01:53:05">2020-10-05</time></span></div><div class="content">构建基于Git的知识管理体系简介基于“让你成长为一棵树而不是一地草”的理念，搭建自己的知识金字塔，构建持续发展、增值的技能树。
最终目标主阵地
GitMdNote 个人日志，Git仓库，个人知识，收集归纳的主战场
GitMdBlog 日志仓库预览工具，方便查看，友好界面，专注(golang)



第二大脑
EverNote 云端存储同步工具，可以用来归档，整理，多终端查看

辅助工具
EverSynClient 印象笔记同步工具，同步笔记仓库到印象笔记(TypeScript)
GitHubPage 定期发布文章，输出成功到Page，打造个人名片

路线图 RoadMap
v1.0 (初步构建起，一个小型的，自发展的个人知识管理体系)
GitMdNote   –已实现
EverNote    –已实现
GitMdBlog   –已实现
EverSynClient  –开发中
GitHubPage     –未开始



遐想
拥有自己的知识体系后，就可以定时从思维宝库里，提取出精华，知识变现
拥有知识，并能够将接收到的信息，转化为知识，并将其变现为财富，才是真的学有所成
当前网络中，现 ...</div></div></div><div class="recent-post-item"><div class="post_cover left_radius"><a href="/bigbdblog/2020/10/05/003-Docker%E8%BF%90%E8%A1%8C%E5%9B%BE%E5%BD%A2%E7%95%8C%E9%9D%A2%E7%A8%8B%E5%BA%8F/" title="003-Docker运行图形界面程序.md">     <img class="post_bg" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/bigbdblog/img/404.jpg'" alt="003-Docker运行图形界面程序.md"></a></div><div class="recent-post-info"><a class="article-title" href="/bigbdblog/2020/10/05/003-Docker%E8%BF%90%E8%A1%8C%E5%9B%BE%E5%BD%A2%E7%95%8C%E9%9D%A2%E7%A8%8B%E5%BA%8F/" title="003-Docker运行图形界面程序.md">003-Docker运行图形界面程序.md</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">Created</span><time datetime="2020-10-04T17:53:05.804Z" title="Created 2020-10-05 01:53:05">2020-10-05</time></span></div><div class="content">003-Docker运行图形界面程序.md原理简介宿主机配置
宿主机系统中安装x11服务1sudo apt-get install x11-xserver-utils
启动容器前执行xhost +

容器启动配置
容器运行时加入参数，uid和gid两个参数不需要12-v /tmp/.X11-unix:/tmp/.X11-unix `# gui程序需要`\-e DISPLAY=$DISPLAY \
完整指令123456789101112docker run -itd \-v ~:&#x2F;home&#x2F;john &#96;# 默认工作目录，映射&#96; \-v &#x2F;usrlocal&#x2F;git:&#x2F;home&#x2F;john&#x2F;git &#96;# git仓库目录&#96; \-p 8001:8001 &#96;# 日志仓库，预览服务&#96; \-p 8080:8080 &#96;# web程序调试端口&#96; \-w &#x2F;home&#x2F;john &#96;# 默认工作目录&#96; \-v &#x2F;etc&#x2F;loc ...</div></div></div><div class="recent-post-item"><div class="post_cover right_radius"><a href="/bigbdblog/2020/10/05/002-%E4%BD%BF%E7%94%A8docker%E6%9E%84%E5%BB%BAvim-golang%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83/" title="使用docker构建vim-golang开发环境">     <img class="post_bg" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/bigbdblog/img/404.jpg'" alt="使用docker构建vim-golang开发环境"></a></div><div class="recent-post-info"><a class="article-title" href="/bigbdblog/2020/10/05/002-%E4%BD%BF%E7%94%A8docker%E6%9E%84%E5%BB%BAvim-golang%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83/" title="使用docker构建vim-golang开发环境">使用docker构建vim-golang开发环境</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">Created</span><time datetime="2020-10-04T17:53:05.611Z" title="Created 2020-10-05 01:53:05">2020-10-05</time></span></div><div class="content">使用docker构建vim-golang开发环境原理docker可以构建一个属于自己的开发环境容器，需要使用时，下载镜像，开箱即用，避免每次都搭建开发环境，浪费不少的时间。
路线图Road Map
vim-golang 开发环境
spacemacs Org-mode  –放弃，鸡肋  –已实现，转变思维不一定非要运行在GUI模式下

目的(抓住主要矛盾,围绕目标来展开工作)
搭建基于Docker的开箱即用的，工作和开发环境  –已实现
支持golang开发  –已实现
支持TypeScript的开发  –已实现

需要解决的问题
vim插件vim-airline，状态栏图标不显示  –优先级，低   –已解决
重新构建devenv-vim镜像，使用dockerfile技术构建，减小体积，去除冗余  –优先级，低 [#D]
已进行尝试，但是体积不能没有减小，反而增大了



如何使用
家里-运行1234567891011121314docker run -itd \`# 注释请忽略，----------- 工作目录映射 -------------` \-w /home/john `# 默 ...</div></div></div><nav id="pagination"><div class="pagination"><a class="extend prev" rel="prev" href="/bigbdblog/page/2/"><i class="fas fa-chevron-left fa-fw"></i></a><a class="page-number" href="/bigbdblog/">1</a><a class="page-number" href="/bigbdblog/page/2/">2</a><span class="page-number current">3</span><a class="page-number" href="/bigbdblog/page/4/">4</a><a class="extend next" rel="next" href="/bigbdblog/page/4/"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside_content" id="aside_content"><div class="card-widget card-info"><div class="card-content"><div class="card-info-avatar is-center"><img class="avatar-img" src="/bigbdblog/null" onerror="this.onerror=null;this.src='/bigbdblog/img/friend_404.gif'" alt="avatar"/><div class="author-info__name">John</div><div class="author-info__description">我的🐦比你的大</div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/bigbdblog/archives/"><div class="headline">Articles</div><div class="length_num">32</div></a></div><div class="card-info-data-item is-center"><a href="/bigbdblog/tags/"><div class="headline">Tags</div><div class="length_num">9</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/jiftle"><i class="fab fa-github"></i><span>Follow Me</span></a></div></div><div class="sticky_layout"><div class="card-widget card-announcement"><div class="card-content"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>Announcement</span></div><div class="announcement_content">《格局》吴军，戒骄戒躁，每日精进</div></div></div><div class="card-widget card-recent-post"><div class="card-content"><div class="item-headline"><i class="fas fa-history"></i><span>Recent Post</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/bigbdblog/2020/10/05/030-%E5%81%9A%E5%A5%BD%E8%87%AA%E5%B7%B1%E7%9A%84%E4%BA%8B&amp;%E5%A6%82%E4%BD%95%E6%8C%A3%E9%92%B1/" title="030-做好自己的事&amp;如何挣钱.md"><img src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/bigbdblog/img/404.jpg'" alt="030-做好自己的事&amp;如何挣钱.md"/></a><div class="content"><a class="title" href="/bigbdblog/2020/10/05/030-%E5%81%9A%E5%A5%BD%E8%87%AA%E5%B7%B1%E7%9A%84%E4%BA%8B&amp;%E5%A6%82%E4%BD%95%E6%8C%A3%E9%92%B1/" title="030-做好自己的事&amp;如何挣钱.md">030-做好自己的事&amp;如何挣钱.md</a><time datetime="2020-10-04T17:53:08.228Z" title="Created 2020-10-05 01:53:08">2020-10-05</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/bigbdblog/2020/10/05/029-etcd%E5%88%9D%E7%BA%A7%E5%85%A5%E9%97%A8/" title="etcd初级入门"><img src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/bigbdblog/img/404.jpg'" alt="etcd初级入门"/></a><div class="content"><a class="title" href="/bigbdblog/2020/10/05/029-etcd%E5%88%9D%E7%BA%A7%E5%85%A5%E9%97%A8/" title="etcd初级入门">etcd初级入门</a><time datetime="2020-10-04T17:53:08.153Z" title="Created 2020-10-05 01:53:08">2020-10-05</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/bigbdblog/2020/10/05/028-%E7%BD%91%E7%9B%98%E4%BD%A0%E7%9C%9F%E7%9A%84%E9%9C%80%E8%A6%81%E5%90%97/" title="028-网盘你真的需要吗.md"><img src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/bigbdblog/img/404.jpg'" alt="028-网盘你真的需要吗.md"/></a><div class="content"><a class="title" href="/bigbdblog/2020/10/05/028-%E7%BD%91%E7%9B%98%E4%BD%A0%E7%9C%9F%E7%9A%84%E9%9C%80%E8%A6%81%E5%90%97/" title="028-网盘你真的需要吗.md">028-网盘你真的需要吗.md</a><time datetime="2020-10-04T17:53:08.106Z" title="Created 2020-10-05 01:53:08">2020-10-05</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/bigbdblog/2020/10/05/027-vagrant%E4%BD%BF%E7%94%A8%E5%85%A5%E9%97%A8/" title="027-vagrant使用入门.md"><img src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/bigbdblog/img/404.jpg'" alt="027-vagrant使用入门.md"/></a><div class="content"><a class="title" href="/bigbdblog/2020/10/05/027-vagrant%E4%BD%BF%E7%94%A8%E5%85%A5%E9%97%A8/" title="027-vagrant使用入门.md">027-vagrant使用入门.md</a><time datetime="2020-10-04T17:53:07.974Z" title="Created 2020-10-05 01:53:07">2020-10-05</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/bigbdblog/2020/10/05/026-Mac%E5%B8%B8%E7%94%A8%E8%BD%AF%E4%BB%B6/" title="Mac常用软件"><img src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/bigbdblog/img/404.jpg'" alt="Mac常用软件"/></a><div class="content"><a class="title" href="/bigbdblog/2020/10/05/026-Mac%E5%B8%B8%E7%94%A8%E8%BD%AF%E4%BB%B6/" title="Mac常用软件">Mac常用软件</a><time datetime="2020-10-04T17:53:07.899Z" title="Created 2020-10-05 01:53:07">2020-10-05</time></div></div></div></div></div><div class="card-widget card-tags"><div class="card-content"><div class="item-headline"><i class="fas fa-tags"></i><span>Tags</span></div><div class="card-tag-cloud"><a href="/bigbdblog/tags/GitMdNote/" style="font-size: 1.37em; color: #99a4b2">GitMdNote</a> <a href="/bigbdblog/tags/Markdown/" style="font-size: 1.5em; color: #99a9bf">Markdown</a> <a href="/bigbdblog/tags/blog/" style="font-size: 1.43em; color: #99a6b9">blog</a> <a href="/bigbdblog/tags/blog-2019/" style="font-size: 1.17em; color: #999c9f">blog-2019</a> <a href="/bigbdblog/tags/blog-2019-12/" style="font-size: 1.17em; color: #999c9f">blog-2019-12</a> <a href="/bigbdblog/tags/blog-2020/" style="font-size: 1.1em; color: #999">blog-2020</a> <a href="/bigbdblog/tags/blog-2020-01/" style="font-size: 1.23em; color: #999ea6">blog-2020-01</a> <a href="/bigbdblog/tags/blog-2020-10/" style="font-size: 1.3em; color: #99a1ac">blog-2020-10</a> <a href="/bigbdblog/tags/daily/" style="font-size: 1.1em; color: #999">daily</a></div></div></div><div class="card-widget card-archives"><div class="card-content"><div class="item-headline"><i class="fas fa-archive"></i><span>Archives</span></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/bigbdblog/archives/2020/10/"><span class="card-archive-list-date">October 2020</span><span class="card-archive-list-count">32</span></a></li></ul></div></div><div class="card-widget card-webinfo"><div class="card-content"><div class="item-headline"><i class="fas fa-chart-line"></i><span>Info</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">Article :</div><div class="item-count">32</div></div><div class="webinfo-item"><div class="item-name">UV :</div><div class="item-count" id="busuanzi_value_site_uv"></div></div><div class="webinfo-item"><div class="item-name">PV :</div><div class="item-count" id="busuanzi_value_site_pv"></div></div><div class="webinfo-item"><div class="item-name">Last Push :</div><div class="item-count" id="last-push-date" data-lastPushDate="2020-10-04T18:09:46.391Z"></div></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 By John</div><div class="framework-info"><span>Framework </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>Theme </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><section id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="Switch Between Light And Dark Mode"><i class="fas fa-adjust"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="Setting"><i class="fas fa-cog"></i></button><button id="go-up" type="button" title="Back To Top"><i class="fas fa-arrow-up"></i></button></div></section><div><script src="https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js"></script><script src="/bigbdblog/js/utils.js"></script><script src="/bigbdblog/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js"></script><div class="js-pjax"><script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></div></body></html>